const TOKEN_KEY = 'itcast-geek-token'
export const setToken = (token) => localStorage.setItem(TOKEN_KEY, token)
export const getToken = () => localStorage.getItem(TOKEN_KEY)
export const delToken = () => localStorage.removeItem(TOKEN_KEY)
export const isToken = () => !!getToken()
